package com.geostar.constructionland.common.entity.logs;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geostar.constructionland.common.entity.logs.mongolog.LogMongoSpt;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author yelll
 * @since 2020-6-17 18:55
 * 调用吉威分析日志
 **/
@Data
@Document(collection = "log_spt")
@TableName(value = "log_spt")
public class LogSpt {
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(value = "fxbs")
    private String fxbs;
    @TableField(value = "fxlx")
    private String fxlx;
    @TableField(value = "version")
    private String version;
    @TableField(value = "mongo_id")
    private String mongoId;
    @TableField(value = "start_time")
    private Date startTime;
    @TableField(value = "cost_time")
    private Long costTime;
    @TableField(exist = false)
    private LogMongoSpt logMongoSpt;
}
